﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MotDePasseBD
{
    public partial class Confirmation_d_identiter : Form
    {
        public bool Confirmation = false;
        public Confirmation_d_identiter()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (textBox1.Text == "admin" && textBox2.Text == "cabane")
            {
                Confirmation = true;
                this.Close();
            }
            else
                MessageBox.Show("Mauvais mot de passe !!!!");
        }
    }
}
